<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SortingEventPage.aspx.cs" Inherits="SortEventPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <div>
                &nbsp;<asp:GridView ID="GridView1" runat="server" AllowPaging="True" BackColor="#CCCCCC"
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CaptionAlign="Right"
                    CellPadding="4" OnPageIndexChanging="GridView1_PageIndexChanging"
                    PageSize="5" AllowSorting="True" CellSpacing="2" ForeColor="Black" OnSorting="GridView1_Sorting">
                    <PagerSettings FirstPageText="FirstPage" LastPageText="LastPage"
                        NextPageText="Next" PageButtonCount="5" Position="TopAndBottom" PreviousPageText="Previous" />
                    <FooterStyle BackColor="#CCCCCC" />
                    <RowStyle BackColor="White" />
                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" Wrap="False" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>
